
'use strict';
const db=uniCloud.database()
exports.main = async (event, context) => {
	
	const data = await db.collection('images').add(event)
	return {
		code:200,
		data:"success"
	}
};